package com.naiterui.ehp.bs.doctor.repository;

import com.naiterui.common.repository.core.BaseJpaRepository;
import com.naiterui.ehp.bp.domain.PatientDisease;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 医生对患者备注的病情操作dao
 *
 * @version 2017年6月11日 by wangchuan
 * @Description
 */
@Repository
public interface IPatientDiseaseRepository extends BaseJpaRepository<PatientDisease, Long>  {

    List<PatientDisease> findByDoctorIdAndPatientId(Long doctorId, Long patientId);

}
